import {Component, OnInit, ViewEncapsulation} from '@angular/core';
import {AppService} from "../../app.service";

@Component({
  selector: '.ss-tables-index',
  templateUrl: './index.component.html',
  styleUrls: ['./index.component.scss'],
  encapsulation: ViewEncapsulation.None
})
export class IndexComponent implements OnInit {
  items: any = [
    {id: 1001, title: "客户管理", icon: "\ue001", style: {color: "#42a5f5", border: "1px solid #42a5f5"}},
    /*{id: 1001, title: "联系人管理", icon: "\ue001", style: {color: "#42a5f5", border: "1px solid #42a5f5"}},
    {id: 1001, title: "行业类别配置", icon: "\ue001", style: {color: "#42a5f5", border: "1px solid #42a5f5"}},
    {id: 1001, title: "商品管理", icon: "\ue001", style: {color: "#42a5f5", border: "1px solid #42a5f5"}},
    {id: 1001, title: "属性配置", icon: "\ue001", style: {color: "#42a5f5", border: "1px solid #42a5f5"}}*/
  ];

  constructor(public $app: AppService) {
    $app.header.setSecondNavigation("/", $app.space.title)
    // console.log(this.items)
  }

  ngOnInit(): void {
  }

}
